package com.zjj.learn.designmodel.work.factory.method_factory;

public abstract class Coffee {

    private String name;

    public abstract void addNai();

    public abstract void addTang();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Coffee() {
    }

    public Coffee(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Coffee{" +
                "name='" + name + '\'' +
                '}';
    }
}
